home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / TransSkel 3.11.sit / TransSkel v 3.11 / Documents / Tutorial / Examples / SimpleApp2.c < prev    next >
MacBinary  |  1994-02-26  |  1.3 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Feb 26 01:23:54 1994, modified Sat Feb 26 01:23:54 1994, creator Think C, type ASCII, 675 bytes "SimpleApp2.c" , at 0x323 346 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 69 6d 70 6c 65 | 41 70 70 32 2e 63 00 00 |..Simple|App2.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 02 a3 00 | 00 01 5a a9 94 9b 7a a9 |........|..Z...z.|
|00000060| 94 9b 7a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..z.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 35 a6 00 00 |........|....5...|
|00000080| 23 20 69 6e 63 6c 75 64 | 65 20 20 20 22 54 72 61 |# includ|e "Tra|
|00000090| 6e 73 53 6b 65 6c 2e 68 | 22 0d 0d 0d 73 74 61 74 |nsSkel.h|"...stat|
|000000a0| 69 63 20 70 61 73 63 61 | 6c 20 76 6f 69 64 0d 44 |ic pasca|l void.D|
|000000b0| 6f 46 69 6c 65 4d 65 6e | 75 20 28 73 68 6f 72 74 |oFileMen|u (short|
|000000c0| 20 69 74 65 6d 29 0d 7b | 0d 20 20 20 20 53 6b 65 | item).{|. Ske|
|000000d0| 6c 53 74 6f 70 45 76 65 | 6e 74 4c 6f 6f 70 20 28 |lStopEve|ntLoop (|
|000000e0| 29 3b 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a |); | /*|
|000000f0| 20 74 65 6c 6c 20 53 6b | 65 6c 45 76 65 6e 74 4c | tell Sk|elEventL|
|00000100| 6f 6f 70 28 29 20 74 6f | 20 71 75 69 74 20 2a 2f |oop() to| quit */|
|00000110| 0d 7d 0d 0d 0d 69 6e 74 | 0d 6d 61 69 6e 20 28 76 |.}...int|.main (v|
|00000120| 6f 69 64 29 0d 7b 0d 4d | 65 6e 75 48 61 6e 64 6c |oid).{.M|enuHandl|
|00000130| 65 09 6d 3b 0d 0d 09 53 | 6b 65 6c 49 6e 69 74 20 |e.m;...S|kelInit |
|00000140| 28 6e 69 6c 29 3b 09 09 | 09 09 2f 2a 20 69 6e 69 |(nil);..|../* ini|
|00000150| 74 69 61 6c 69 7a 65 20 | 2a 2f 0d 09 53 6b 65 6c |tialize |*/..Skel|
|00000160| 41 70 70 6c 65 20 28 6e | 69 6c 2c 20 6e 69 6c 29 |Apple (n|il, nil)|
|00000170| 3b 09 09 2f 2a 20 68 61 | 6e 64 6c 65 20 41 70 70 |;../* ha|ndle App|
|00000180| 6c 65 20 6d 65 6e 75 20 | 2a 2f 0d 09 2f 2a 20 63 |le menu |*/../* c|
|00000190| 72 65 61 74 65 20 46 69 | 6c 65 20 6d 65 6e 75 2c |reate Fi|le menu,|
|000001a0| 20 69 6e 73 74 61 6c 6c | 20 68 61 6e 64 6c 65 72 | install| handler|
|000001b0| 20 2a 2f 0d 09 6d 20 3d | 20 4e 65 77 4d 65 6e 75 | */..m =| NewMenu|
|000001c0| 20 28 73 6b 65 6c 41 70 | 70 6c 65 4d 65 6e 75 49 | (skelAp|pleMenuI|
|000001d0| 44 20 2b 20 31 2c 20 22 | 5c 70 46 69 6c 65 22 29 |D + 1, "|\pFile")|
|000001e0| 3b 0d 09 41 70 70 65 6e | 64 4d 65 6e 75 20 28 6d |;..Appen|dMenu (m|
|000001f0| 2c 20 22 5c 70 51 75 69 | 74 2f 51 22 29 3b 0d 09 |, "\pQui|t/Q");..|
|00000200| 28 76 6f 69 64 29 20 53 | 6b 65 6c 4d 65 6e 75 20 |(void) S|kelMenu |
|00000210| 28 6d 2c 09 09 09 09 09 | 2f 2a 20 6d 65 6e 75 20 |(m,.....|/* menu |
|00000220| 68 61 6e 64 6c 65 20 2a | 2f 0d 09 09 09 09 09 09 |handle *|/.......|
|00000230| 44 6f 46 69 6c 65 4d 65 | 6e 75 2c 09 09 2f 2a 20 |DoFileMe|nu,../* |
|00000240| 69 74 65 6d 20 73 65 6c | 65 63 74 69 6f 6e 20 66 |item sel|ection f|
|00000250| 75 6e 63 74 69 6f 6e 20 | 2a 2f 0d 09 09 09 09 09 |unction |*/......|
|00000260| 09 6e 69 6c 2c 09 09 09 | 2f 2a 20 6d 65 6e 75 20 |.nil,...|/* menu |
|00000270| 64 69 73 70 6f 73 61 6c | 20 66 75 6e 63 74 69 6f |disposal| functio|
|00000280| 6e 20 2a 2f 0d 09 09 09 | 09 09 09 66 61 6c 73 65 |n */....|...false|
|00000290| 2c 09 09 09 2f 2a 20 6e | 6f 74 20 61 20 73 75 62 |,.../* n|ot a sub|
|000002a0| 6d 65 6e 75 20 2a 2f 0d | 09 09 09 09 09 09 74 72 |menu */.|......tr|
|000002b0| 75 65 29 3b 09 09 09 2f | 2a 20 64 72 61 77 20 6d |ue);.../|* draw m|
|000002c0| 65 6e 75 20 62 61 72 20 | 2a 2f 0d 09 53 6b 65 6c |enu bar |*/..Skel|
|000002d0| 45 76 65 6e 74 4c 6f 6f | 70 20 28 29 3b 09 09 09 |EventLoo|p ();...|
|000002e0| 2f 2a 20 6c 6f 6f 70 20 | 27 74 69 6c 20 51 75 69 |/* loop |'til Qui|
|000002f0| 74 20 73 65 6c 65 63 74 | 65 64 20 2a 2f 0d 09 53 |t select|ed */..S|
|00000300| 6b 65 6c 43 6c 65 61 6e | 75 70 20 28 29 3b 09 09 |kelClean|up ();..|
|00000310| 09 09 2f 2a 20 63 6c 65 | 61 6e 20 75 70 20 2a 2f |../* cle|an up */|
|00000320| 0d 7d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 28 | 00 00 00 28 00 00 00 32 |.......(|...(...2|
|00000390| 82 44 f8 9d 2a da 2d 14 | 8e d4 61 87 19 20 65 1b |.D..*.-.|..a.. e.|
|000003a0| 27 a4 e2 70 de b0 c8 83 | cb a5 77 61 c0 6b 29 d0 |'..p....|..wa.k).|
|000003b0| 0c 53 69 6d 70 6c 65 41 | 70 70 32 2e 63 b6 02 00 |.SimpleA|pp2.c...|
|000003c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a9 9f 75 a5 00 00 | 00 00 00 00 01 5a 1a 13 |....u...|.....Z..|
|00000400| 85 8b 82 50 b1 6c 4c 60 | 3c 0a 05 81 62 c0 a4 2c |...P.lL`|<...b..,|
|00000410| 59 15 18 05 c1 63 60 50 | 5e 11 0a b4 45 21 22 e0 |Y....c`P|^...E!".|
|00000420| 20 f6 78 16 83 d9 c0 70 | 80 b0 24 5b 04 9e c5 01 | .x....p|..$[....|
|00000430| 00 b8 d8 22 e1 3f a1 41 | 81 22 c2 3c 52 0d 09 16 |...".?.A|.".<R...|
|00000440| 51 e2 a1 c0 4a 2a 87 f3 | cb 4c c0 2d 8d 64 67 44 |Q...J*..|.L.-.dgD|
|00000450| c0 a6 61 81 60 0d 07 9f | 85 45 63 d8 ac 14 67 63 |..a.`...|.Ec...gc|
|00000460| 83 8c ee 60 30 ac 24 5d | 08 03 8f 46 03 02 68 fc |...`0.$]|...F..h.|
|00000470| 3f 2b 36 c1 c7 b1 69 f8 | 6c 79 6b 42 70 1f 09 d0 |?+6...i.|lykBp...|
|00000480| 00 00 00 24 00 02 00 00 | 00 2f 00 00 00 39 0b 44 |...$....|./...9.D|
|00000490| 6f 46 69 6c 65 4d 65 6e | 75 00 00 00 00 99 00 00 |oFileMen|u.......|
|000004a0| 00 9d 05 6d 61 69 6e 00 | 00 00 01 00 00 00 01 28 |...main.|.......(|
|000004b0| 00 00 00 28 00 00 00 32 | 00 4c bf b8 0a 4a 00 00 |...(...2|.L...J..|
|000004c0| 00 1c 00 32 00 00 4d 50 | 53 52 00 00 00 0a 03 ef |...2..MP|SR......|
|000004d0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+